package com.situ.hospital.doctor.dao;

import java.sql.SQLException;
import java.util.List;

import com.situ.hospital.doctor.model.DoctorModel;

public interface IDoctorDao {

	Integer insert(DoctorModel doctor);

	DoctorModel selectModel(DoctorModel doctor) throws SQLException;

	List<DoctorModel> selectAll(DoctorModel doctor) throws SQLException;

	Integer deleteById(DoctorModel doctor) throws SQLException;

	Integer updateById(DoctorModel doctor) throws SQLException;
	
	Integer updateJpg(DoctorModel doctor) throws SQLException;

	Integer selectCount(DoctorModel doctor) throws SQLException;

}